Search results

92 packages found

Proxies nodejs require in order to allow overriding dependencies during testing.

published 2.1.3 5 years ago
M
Q
P

Simplifying the use of mocks with Node.js

published 2.1.0 2 months ago
M
Q
P

Simple, intuitive mocking of Node.js modules.

published 3.0.3 5 years ago
M
Q
P

Simplifying the use of mocks with Node.js

published 2.1.0 7 years ago
M
Q
P

NodeJs "require" with mock content and file name and supports babel, pirates, etc

published 1.0.2 5 years ago
M
Q
P

Easy dependency injection for node.js unit testing

published 7.0.0 9 months ago
M
Q
P

Intercept calls to require()

published 1.1.0 7 years ago
M
Q
P

A way of intercepting required Node.js modules.

published 1.0.4 5 years ago
M
Q
P

A mocking utility for node.js require

published 1.3.1 7 years ago
M
Q
P

A node.js library that allows you to hook 'require', gather data about calls to 'require' and intercept/modify the results

published 0.1.2 9 years ago
M
Q
P

Wipes node.js cache in a controlled way.

published 2.1.2 4 years ago
M
Q
P

Wipes webpack cache in a controled way.

published 2.1.0 5 years ago
M
Q
P

Cache-Poisoning applied to Node.js require statements so you inject your own modules

published 2.0.0 5 years ago
M
Q
P

Deep code stubbing for node.js tests. Follow and override behaviour of infinitely nested pieces of code such as methods, require() and npm modules or even instances of classes, etc.

published 2.0.1 8 years ago
M
Q
P

Simplest require mocking

published 0.3.3 9 years ago
M
Q
P

provides native ESM import and globals mocking for unit tests

published 2.6.5 5 days ago
M
Q
P

inject a global variable into a module require() tree

published 2.0.1 6 years ago
M
Q
P

Mocking for commonjs dependencies

published 1.0.1 9 years ago
M
Q
P

Hijack node require calls, with support for hijacking the entire module itself rather than only its properties. Handy for unit testing and mocking require calls in sub modules!

published 1.2.1 11 years ago
M
Q
P

Library that mocks commonjs 'require' calls in your testing environment for Vitest

published 1.0.3 8 months ago
M
Q
P